package com.lh.runmanage.dao;

import com.lh.runmanage.model.InPutParam.SystemUserInParam;
import com.lh.runmanage.model.InPutParam.SystemUserP2InParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author ：梁昊，后端工程师：梁昊
 * @create 2021-07-23 15:58
 * @function
 * @editLog
 */
@Mapper
public interface SystemUserMapper {
    /**
     * 展示端方法：U3
     *
     * @param systemUserInParam com.lh.runmanage.model.InPutParam.SystemUserInParam
     * @return 得到项目信息与标定、分值信息
     */
    Integer selectSystemUserByProjectIdOrCreateData(SystemUserInParam systemUserInParam);

    Integer selectSystemUserMaxByProjectIdOrCreateData(SystemUserInParam systemUserInParam);


    /**
     * 展示端方法：P2
     *
     * @param systemUserP2InParam com.lh.runmanage.model.InPutParam.SystemUserP2InParam
     * @return 用户同比率
     */
    Integer selectSystemUserSameCount(SystemUserP2InParam systemUserP2InParam);

}